/**
 * Copyright (C), 2019-2022, 宇信融汇
 * FileName: ConsumeListener
 * Author:   666
 * Date:     2022/4/21 15:06
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 666           修改时间           版本号              描述
 */
package com.mashibing.rabbitmq_boot;

/**
 * @Classname ConsumeListener
 * @Description TODO
 * @Date 2022/4/21 15:06
 * @Created by 666
 */
//@Component
//public class ConsumeListener {
//
//    @RabbitListener(queues = RabbitMQConfig.QUEUE)
//    public void consume(String msg, Channel channel , Message message) throws IOException {
//        System.out.println("消费的队列消息"+msg);
//        System.out.println("唯一标识"+message.getMessageProperties().getCorrelationId());
//        channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
//    }
//}
